﻿/*#region ComposeLink*/
.compose-link-container {
    text-align: right;
    margin-bottom: -15px;
}
    .compose-link-container > a {
        font-size: 12px;
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
        .compose-link-container > a:before {
            font: normal 20px 'Pe-icon-7-stroke';
            content: '\e62c';
            vertical-align: bottom;
            margin-right: 2px;
        }
        .compose-link-container > a:hover {
            color: #08c;
        }
/*#endregion ComposeLink*/

/*#region Article*/
.article-container {
    margin: 20px 0px;
}
    .article-container > .article {
        margin-bottom: 5px;
        position: relative;
    }
/*#region ActionButton*/
    .article-container > .article > .action-button {
        position: absolute;
        top: 5px;
        right: 0px;
        visibility: hidden;
    }
        .article-container > .article:hover > .action-button {
            visibility: visible;
        }
        .article-container > .article > .action-button:hover > i {
            color: #08c;
        }
        .article-container > .article > .action-button:hover > ul {
            visibility: visible;
        }
        .article-container > .article > .action-button > i {
            width: 25px;
            height: 25px;
            font-size: 15px;
            text-align: center;
            line-height: 25px;
            display: block;
            color: #ddd;
        }
        .article-container > .article > .action-button > ul {
            background-color: white;
            border: 1px solid #ddd;
            font: normal 12px Tahoma;
            position: absolute;
            z-index: 4;
            top: 26px;
            right: -4px;
            visibility: hidden;
        }
            .article-container > .article > .action-button > ul:before {
                display: block;
                content: '';
                position: absolute;
                top: -14px;
                right: 9px;
                border: 7px solid transparent;
                border-bottom-color: #ddd;
            }
            .article-container > .article > .action-button > ul:after {
                display: block;
                content: '';
                position: absolute;
                top: -12px;
                right: 10px;
                border: 6px solid transparent;
                border-bottom-color: white;
            }
            .article-container > .article > .action-button > ul > li {
                border-left: 3px solid transparent;
            }
            .article-container > .article > .action-button > ul > li:hover {
                background-color: #fafafa;
                border-left-color: #08c;
            }
                .article-container > .article > .action-button > ul > li > a {
                    text-decoration: none;
                    color: black;
                    display: block;
                    padding: 5px;
                    width: 70px;
                }
                    .article-container > .article:last-child > .action-button > ul > li > a.tang-thu-tu {
                        display: none;
                    }
                    .article-container > .article:first-child > .action-button > ul > li > a.giam-thu-tu {
                        display: none;
                    }
/*#endregion ActionButton*/
        .article-container > .article > .article-title {
            font: normal 20px Freeway;
            display: inline-block;
            cursor: alias;
            padding-right: 25px;
            position: relative;
        }
            .article-container > .article > .article-title:after {
                font: normal 12px Tahoma;
                display: inline-block;
                content: ' - ' attr(data-time);
            }
            .article-container > .article > .article-title > i {
                display: inline-block;
                width: 20px;
                height: 20px;
                position: relative;
                vertical-align: text-bottom;
            }
                .article-container > .article > .article-title > i:before,
                .article-container > .article > .article-title > i:after {
                    content: '';
                    display: block;
                    width: 7px;
                    height: 3px;
                    position: absolute;
                    background-color: black;
                    transition: 0.3s;
                }
                .article-container > .article > .article-title > i:before {
                    top: 8px;
                    left: 3px;
                }
                .article-container > .article > .article-title > i:after {
                    top: 8px;
                    right: 3px;
                }
                    .article-container > .article.expand > .article-title > i:before {
                        transform: skewY(30deg);
                        top: 11px;
                    }
                    .article-container > .article.expand > .article-title > i:after {
                        transform: skewY(-30deg);
                        top: 11px;
                    }                    
        .article-container > .article > .title-editor {
            width: calc(100% - 22px);            
            padding: 10px;
            font: normal 14px tahoma;
            border: 1px solid #ddd;
            outline: none;
            margin-bottom: 5px;
        }
        .article-container > .article > .article-content-container {
            background-color: white;
            border: 1px solid #ddd;
            padding: 5px;
            margin-top: 5px;
            display: none;
            position: relative;
        }
            .article-container > .article.expand > .article-content-container {
                display: block;
                transform-origin: 50% 0%;
                -webkit-animation: key-hien-thi-noi-dung 0.3s;
            }
@-webkit-keyframes key-hien-thi-noi-dung {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
            /*#region content theo editor*/
            .article-container > .article > .article-content-container > .noi-dung {
        
            }
                .article-container > .article > .article-content-container > .noi-dung p {
                    text-indent: 10px;
                    margin: 5px 0px;
                    font-size: 14px;
                    line-height: 25px;
                }
                .article-container > .article > .article-content-container > .noi-dung pre {
                    white-space: pre-wrap;
                    /* CSS3 */
                    white-space: -moz-pre-wrap;
                    /* Mozilla, post millennium */
                    white-space: -pre-wrap;
                    /* Opera 4-6 */
                    white-space: -o-pre-wrap;
                    /* Opera 7 */
                    word-wrap: break-word;
                    /* Internet Explorer 5.5+ */
                    border: solid 1px #ddd;
                    background: #fafafa;
                    padding: 10px;
                    border-radius: 0px;
                    -moz-background-clip: padding;
                    -webkit-background-clip: padding-box;
                    background-clip: padding-box;
                    margin: 5px 0px;
                }
                .article-container > .article > .article-content-container > .noi-dung blockquote {
                    margin: 5px 0px 5px 20px;
                    padding-left: 20px;
                    font-style: italic;
                    font-size: 14px;
                    border-left: solid 5px #eee;
                }
                .article-container > .article > .article-content-container > .noi-dung ul,
                .article-container > .article > .article-content-container > .noi-dung ol {            
                    font-size: 14px;
                    padding-left: 25px;
                }
            /*#endregion content theo editor*/
            .article-container > .article > .article-content-container > .file {
                    border-top: 1px dashed #ddd;
                    margin-top: 5px;
            }
                .article-container > .article > .article-content-container > .file > a {
                        text-decoration: none;
                        color: black;
                        font-size: 12px;
                }
                    .article-container > .article > .article-content-container > .file > a:hover > span {
                            text-decoration: underline;
                    }
                    .article-container > .article > .article-content-container > .file > a > i {
                            font-size: 15px;
                            vertical-align: bottom;
                    }
    /*#region Sửa*/
    .article-container > .article > .article-content-container > .noi-dung.froala-box {
        margin-bottom: 35px;
    }
    .article-container > .article > .article-content-container > .post-button-container {
            position: absolute;
            bottom: 5px;
            right: 5px;
    }
        .article-container > .article > .article-content-container > .post-button-container > div {
            border: 1px solid #ddd;
            background-color: white;
            position: relative;
            float: left;
            margin-left: 3px;
        }
        .article-container > .article > .article-content-container > .post-button-container > div > .post-button {
            font-size: 14px;
            background-color: transparent;
            border: none;
            outline: none;
            height: 30px;
            padding: 0 10px;
            transition: padding-left 0.5s;
            position: relative;
        }
            .article-container > .article > .article-content-container > .post-button-container > div > i {
                font-size: 15px;
                position: absolute;
                top: 8px;
                left: 9px;
                z-index: 0;
                transform: scale(0, 0);
            }
            .article-container > .article > .article-content-container > .post-button-container > div.nut-huy > i {
                color: #fb0000;
            }
            .article-container > .article > .article-content-container > .post-button-container > div.nut-sua > i {
                color: #08c;
            }
            .article-container > .article > .article-content-container > .post-button-container > div.nut-huy:hover {
                border-color: #fb0000;
            }
            .article-container > .article > .article-content-container > .post-button-container > div.nut-sua:hover {
                border-color: #08c;
            }
            .article-container > .article > .article-content-container > .post-button-container > div:hover > .post-button {
                padding-left: 30px;
            }
            .article-container > .article > .article-content-container > .post-button-container > div:hover > i {
                transition: transform 0.2s 0.5s;
                transform: none;
            }
    /*#endregion Sửa*/
                
.file-show {
    position: relative;
}
    .file-show > .download-button {
        color: black;
        text-decoration: none;
    }
        .file-show > .download-button:hover {
            color: #08c;
        }
        .file-show > .download-button > i {
            font-size: 16px;
            vertical-align: middle;
        }
        .file-show > .download-button > span {
            font-size: 13px;
        }
    .file-show > .name {
        font-size: 14px;
        padding: 5px;       
    }
/*#endregion Article*/

/*#region Compose*/
.compose-container {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    display: block;
    background-color: #fafafa;
    position: relative;
}
    .compose-container > .compose {
        position: relative;
    }
        .compose-container > .compose > .title-editor {
            width: calc(100% - 22px);            
            padding: 10px;
            font: normal 14px tahoma;
            border: 1px solid #ddd;
            outline: none;
            margin-bottom: 5px;
        }
        .compose-container > .compose > .editor {

        }
/*#region PostButton*/
.compose-container > .compose > .post-button-container {
    position: absolute;
    bottom: 0px;
    right: 0px;
    border: 1px solid #ddd;
    background-color: white;
}
    .compose-container > .compose > .post-button-container > .post-button {
        font-size: 14px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 30px;
        padding: 0 10px;
        transition: padding-left 0.5s;
        position: relative;
    }
        .compose-container > .compose > .post-button-container > i {
            font-size: 15px;
            position: absolute;
            top: 7px;
            left: 9px;
            color: #08c;
            z-index: 0;
            transform: scale(0, 0);
        }
        .compose-container > .compose > .post-button-container:hover {
            border-color: #08c;
        }
        .compose-container > .compose > .post-button-container:hover > .post-button {
            padding-left: 30px;
        }
        .compose-container > .compose > .post-button-container:hover > i {
            transition: transform 0.2s 0.5s;
            transform: none;
        }
/*#endregion PostButton*/
/*#region AttachFile*/
.compose-container > .compose > .attach-file-container {
    margin-top: 5px;
}
    .compose-container > .compose > .attach-file-container > .attach-file-button-container {
        display: inline-block;
        position: relative;
        cursor: pointer;
        max-width: 50%;
        margin-top: 12px;
    }
        .compose-container > .compose > .attach-file-container > .attach-file-button-container:hover > .text-attach-file {
            text-decoration: underline;
        }
        .compose-container > .compose > .attach-file-container > .attach-file-button-container > i {
            font-size: 16px;
        }
        .compose-container > .compose > .attach-file-container > .attach-file-button-container > .text-attach-file {
            font-size: 12px;
            text-overflow: ellipsis;
            overflow: hidden;
            display: inline-block;
            max-width: 90%;
            white-space: nowrap;
        }  
    .compose-container > .compose > .attach-file-container > .cancel-attach-file {
        display: inline-block;
        transform: scale(0, 0);
    }   
    .compose-container > .compose > .attach-file-container > .cancel-attach-file.show {
        transition: transform 0.5s 0.5s;
        transform: none;
    }   
        .compose-container > .compose > .attach-file-container > .cancel-attach-file > i {
            font-size: 12px;
        }   
        .compose-container > .compose > .attach-file-container > .cancel-attach-file:hover > i {
            color: #08c;
            cursor: pointer;
        }   
/*#endregion AttachFile*/
/*#endregion Compose*/